<template>
  <div id="header">
    <span>{{ title }}</span>
  </div>
</template>

<script>
export default {
  name: 'PageHeader',
  props: {
    title: {
      type: String,
      require: true
    }
  }
}
</script>

<style scoped>
#header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 50px;
  line-height: 50px;
  font-weight: bold;
  text-align: center;
  background-color: #e54847;
  color: #fff;
}
</style>